#include "StdAfx.h"
#include "TriangleSpecimenFactory.h"
#include "TriangleSpecimen.h"

TriangleSpecimenFactory::TriangleSpecimenFactory(Random *generator)
:m_generator(generator)
{
}

TriangleSpecimenFactory::~TriangleSpecimenFactory(void)
{
}

ISpecimen *TriangleSpecimenFactory::CreateSpecimen()
{
	return new TriangleSpecimen(new Point(m_generator), new Point(m_generator), new Point(m_generator), m_generator);
}